package com.molichuxing.services.infrastructure.bean;

import com.molichuxing.framework.bean.RootBean;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 * 商品规格配置表
 * </p>
 *
 * @author xuelin yi
 * @since 2019-08-12
 */
public class GoodsSpecConfigBean extends RootBean {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    private Integer id;

    /**
     * 商品类型(1:专属里程，2：订阅里程)
     */
    private Integer type;

    /**
     * 规格名称
     */
    private String name;

    /**
     * 选择方式(1:单选 ,2:复选 ,3:否 )
     */
    private Integer optionalMode;

    /**
     * 录入方式(1:手动录入 ,2:下拉列表选择 ,3:勾选 )
     */
    private Integer inputMode;

    /**
     * 录入值
     */
    private String properties;

    /**
     * 创建时间
     */
    private LocalDateTime gmtCreate;

    /**
     * 更新时间
     */
    private LocalDateTime gmtModified;

    @Override
    public Integer getId() {
        return id;
    }

    @Override
    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getOptionalMode() {
        return optionalMode;
    }

    public void setOptionalMode(Integer optionalMode) {
        this.optionalMode = optionalMode;
    }

    public Integer getInputMode() {
        return inputMode;
    }

    public void setInputMode(Integer inputMode) {
        this.inputMode = inputMode;
    }

    public String getProperties() {
        return properties;
    }

    public void setProperties(String properties) {
        this.properties = properties;
    }

    @Override
    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    @Override
    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    @Override
    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    @Override
    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }
}
